package com.autonavi.collapse.task.context;

import java.util.Map;

public interface ContextManager {
    void init() throws Exception;

    <T>  T getComponentByType(Class<T> type);

    Object getComponentByName(String name);

    <T> Map<String, T> getComponentsByType(Class<T> type);
}
